package com.sec.android.app.myfiles.shadow.custom;

import android.content.Context;

import com.samsung.android.sdk.slinkcloud.CloudGatewaySignInUtils;

import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.internal.Shadow;

/**
 * Created by jaebae on 2016-07-08.
 */
@Implements(CloudGatewaySignInUtils.class)
public class ShadowCloudGatewaySignInUtils {
    private static CloudGatewaySignInUtils sInstance = Shadow.newInstanceOf(CloudGatewaySignInUtils.class);

    public static boolean isPlatformEnabled = false;

    public static void init() {
        isPlatformEnabled = false;
    }

    @Implementation
    public static synchronized CloudGatewaySignInUtils getInstance(Context context) {
        return sInstance;
    }

    @Implementation
    public boolean isPlatformEnabled() {
        return isPlatformEnabled;
    }
}
